package cj.web.admin.domain;
/*
 *  
 *  
*/
import java.io.Serializable;

/**
 * 改址转投
 */
public class KDChangeAddress extends DataTablePage implements Serializable {

    /**
	 * 
	 */
	private static final long serialVersionUID = 8884426158225234342L;
	protected Integer id;
	protected Integer type;
	protected String link;
	protected String phone;
	protected String tel;
	protected String invoiceNo;
	protected Integer oldCity;
	protected Integer oldArea;
	protected Integer oldStreet;
	protected String oldAddress;
	protected Integer newCity;
	protected Integer newArea;
	protected Integer newStreet;
	protected String newAddress;
	protected Integer status;
	protected Integer deleteFlag;
	protected String createUser;
	protected String createAT;
	protected String updateUser;
	protected String updateAT;
	protected String memo;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getInvoiceNo() {
		return invoiceNo;
	}
	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}
	public Integer getOldCity() {
		return oldCity;
	}
	public void setOldCity(Integer oldCity) {
		this.oldCity = oldCity;
	}
	public Integer getOldArea() {
		return oldArea;
	}
	public void setOldArea(Integer oldArea) {
		this.oldArea = oldArea;
	}
	public Integer getOldStreet() {
		return oldStreet;
	}
	public void setOldStreet(Integer oldStreet) {
		this.oldStreet = oldStreet;
	}
	public String getOldAddress() {
		return oldAddress;
	}
	public void setOldAddress(String oldAddress) {
		this.oldAddress = oldAddress;
	}
	public Integer getNewCity() {
		return newCity;
	}
	public void setNewCity(Integer newCity) {
		this.newCity = newCity;
	}
	public Integer getNewArea() {
		return newArea;
	}
	public void setNewArea(Integer newArea) {
		this.newArea = newArea;
	}
	public Integer getNewStreet() {
		return newStreet;
	}
	public void setNewStreet(Integer newStreet) {
		this.newStreet = newStreet;
	}
	public String getNewAddress() {
		return newAddress;
	}
	public void setNewAddress(String newAddress) {
		this.newAddress = newAddress;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Integer getDeleteFlag() {
		return deleteFlag;
	}
	public void setDeleteFlag(Integer deleteFlag) {
		this.deleteFlag = deleteFlag;
	}
	public String getCreateUser() {
		return createUser;
	}
	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}
	public String getCreateAT() {
		return createAT;
	}
	public void setCreateAT(String createAT) {
		this.createAT = createAT;
	}
	public String getUpdateUser() {
		return updateUser;
	}
	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}
	public String getUpdateAT() {
		return updateAT;
	}
	public void setUpdateAT(String updateAT) {
		this.updateAT = updateAT;
	}
	public String getMemo() {
		return memo;
	}
	public void setMemo(String memo) {
		this.memo = memo;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = super.hashCode();
		result = prime * result
				+ ((createAT == null) ? 0 : createAT.hashCode());
		result = prime * result
				+ ((createUser == null) ? 0 : createUser.hashCode());
		result = prime * result
				+ ((deleteFlag == null) ? 0 : deleteFlag.hashCode());
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		result = prime * result
				+ ((invoiceNo == null) ? 0 : invoiceNo.hashCode());
		result = prime * result + ((link == null) ? 0 : link.hashCode());
		result = prime * result + ((memo == null) ? 0 : memo.hashCode());
		result = prime * result
				+ ((newAddress == null) ? 0 : newAddress.hashCode());
		result = prime * result + ((newArea == null) ? 0 : newArea.hashCode());
		result = prime * result + ((newCity == null) ? 0 : newCity.hashCode());
		result = prime * result
				+ ((newStreet == null) ? 0 : newStreet.hashCode());
		result = prime * result
				+ ((oldAddress == null) ? 0 : oldAddress.hashCode());
		result = prime * result + ((oldArea == null) ? 0 : oldArea.hashCode());
		result = prime * result + ((oldCity == null) ? 0 : oldCity.hashCode());
		result = prime * result
				+ ((oldStreet == null) ? 0 : oldStreet.hashCode());
		result = prime * result + ((phone == null) ? 0 : phone.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((tel == null) ? 0 : tel.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		result = prime * result
				+ ((updateAT == null) ? 0 : updateAT.hashCode());
		result = prime * result
				+ ((updateUser == null) ? 0 : updateUser.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (!super.equals(obj))
			return false;
		if (getClass() != obj.getClass())
			return false;
		KDChangeAddress other = (KDChangeAddress) obj;
		if (createAT == null) {
			if (other.createAT != null)
				return false;
		} else if (!createAT.equals(other.createAT))
			return false;
		if (createUser == null) {
			if (other.createUser != null)
				return false;
		} else if (!createUser.equals(other.createUser))
			return false;
		if (deleteFlag == null) {
			if (other.deleteFlag != null)
				return false;
		} else if (!deleteFlag.equals(other.deleteFlag))
			return false;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		if (invoiceNo == null) {
			if (other.invoiceNo != null)
				return false;
		} else if (!invoiceNo.equals(other.invoiceNo))
			return false;
		if (link == null) {
			if (other.link != null)
				return false;
		} else if (!link.equals(other.link))
			return false;
		if (memo == null) {
			if (other.memo != null)
				return false;
		} else if (!memo.equals(other.memo))
			return false;
		if (newAddress == null) {
			if (other.newAddress != null)
				return false;
		} else if (!newAddress.equals(other.newAddress))
			return false;
		if (newArea == null) {
			if (other.newArea != null)
				return false;
		} else if (!newArea.equals(other.newArea))
			return false;
		if (newCity == null) {
			if (other.newCity != null)
				return false;
		} else if (!newCity.equals(other.newCity))
			return false;
		if (newStreet == null) {
			if (other.newStreet != null)
				return false;
		} else if (!newStreet.equals(other.newStreet))
			return false;
		if (oldAddress == null) {
			if (other.oldAddress != null)
				return false;
		} else if (!oldAddress.equals(other.oldAddress))
			return false;
		if (oldArea == null) {
			if (other.oldArea != null)
				return false;
		} else if (!oldArea.equals(other.oldArea))
			return false;
		if (oldCity == null) {
			if (other.oldCity != null)
				return false;
		} else if (!oldCity.equals(other.oldCity))
			return false;
		if (oldStreet == null) {
			if (other.oldStreet != null)
				return false;
		} else if (!oldStreet.equals(other.oldStreet))
			return false;
		if (phone == null) {
			if (other.phone != null)
				return false;
		} else if (!phone.equals(other.phone))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (tel == null) {
			if (other.tel != null)
				return false;
		} else if (!tel.equals(other.tel))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		if (updateAT == null) {
			if (other.updateAT != null)
				return false;
		} else if (!updateAT.equals(other.updateAT))
			return false;
		if (updateUser == null) {
			if (other.updateUser != null)
				return false;
		} else if (!updateUser.equals(other.updateUser))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("KDChangeAddress [id=").append(id).append(", type=")
				.append(type).append(", link=").append(link).append(", phone=")
				.append(phone).append(", tel=").append(tel)
				.append(", invoiceNo=").append(invoiceNo).append(", oldCity=")
				.append(oldCity).append(", oldArea=").append(oldArea)
				.append(", oldStreet=").append(oldStreet)
				.append(", oldAddress=").append(oldAddress)
				.append(", newCity=").append(newCity).append(", newArea=")
				.append(newArea).append(", newStreet=").append(newStreet)
				.append(", newAddress=").append(newAddress).append(", status=")
				.append(status).append(", deleteFlag=").append(deleteFlag)
				.append(", createUser=").append(createUser)
				.append(", createAT=").append(createAT).append(", updateUser=")
				.append(updateUser).append(", updateAT=").append(updateAT)
				.append(", memo=").append(memo).append("]");
		return builder.toString();
	}
}